const Koa = require('koa');
const parser = require('koa-bodyparser')
const app = new Koa();
const InitManager = require('./core/init')
const catchError = require('./middlewares/exception')

app.use(parser());
app.use(catchError); 
InitManager.initCore(app);
app.listen(3001);      
